package com.czxy.demo05;

/**
 * Created by hp on 2020/2/2.
 */
public class Car {
    private String brand;
    private String color;
    private String price;
    private String type;
    private String productDate;

    @Override
    public String toString() {
        return "Car{" +
                "brand='" + brand + '\'' +
                ", color='" + color + '\'' +
                ", price='" + price + '\'' +
                ", type='" + type + '\'' +
                ", productDate='" + productDate + '\'' +
                '}';
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProductDate() {
        return productDate;
    }

    public void setProductDate(String productDate) {
        this.productDate = productDate;
    }

    public Car(String brand, String color, String price, String type, String productDate) {

        this.brand = brand;
        this.color = color;
        this.price = price;
        this.type = type;
        this.productDate = productDate;
    }

    public Car() {

    }
}
